import request from '@/utils/request'



export function readinglist(params) {
  return request({
    url: 'a/u/read/list',
    method: 'get',
    params:params
  })
}

export function readingcheck(id) {
  return request({
    url: 'a/u/read/'+id,
    method: 'get'
  })
}
export function readingsearch(params) {
  return request({
    url: 'a/u/read/list',
    method: 'get',
    params:params
  })
}
export function readingmess(params) {
  return request({
    url: '/a/u/messlistdemo',
    method: 'post',
    params:params
  })
}
export function readingadd(params) {
  return request({
    url: 'a/u/read',
    method: 'post',
    params:params
  })
}
export function readingfiles(mess,time) {
  return request({
    url: 'a/u/messlistdemo',
    method: 'post',
    data:{
      mess:mess,
      time:time
    }
  })
}
export function readingupdate(id,params) {
  return request({
    url: 'a/u/read/'+id,
    method: 'post',
    params:params
  })
}
